package com.lujieni.dbsharding.simple;

import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @Auther lujieni
 * @Date 2020/7/8
 */
@SpringBootApplication//针对自定义配置而言要excclude(exclude = SpringBootConfiguration.class)
@MapperScan("com.**.dao")
@EnableAutoDataSourceProxy
public class ShardingJdbcSimpleStarter {

    public static void main(String[] args) {
        SpringApplication.run(ShardingJdbcSimpleStarter.class,args);
    }
}
